from pydantic import BaseModel
from typing import Optional, List

class WPWalletBase(BaseModel):
    """WaveUp钱包"""
    productId: str = ""
    assetAmount: float = 0.0
    productName: str = ""
    imageUrl: str = ""

class WPWalletOut(WPWalletBase):
    """WaveUp钱包详情"""
    archiveId: int = 0
    minPrice: float = 0.0

class WPWalletListReq(BaseModel):
    """WaveUp钱包列表"""
    pageNo: int = 1
    pageSize: int = 10
    productIds: List[str] = []
